home *** CD-ROM | disk | FTP | other *** search
- ' Copyright 1989 Regents of the University of California
- ' Permission to use, copy, modify, and distribute this
- ' documentation for any purpose and without fee is hereby
- ' granted, provided that this notice appears in all copies.
- ' The University of California makes no representations about
- ' the suitability of this material for any purpose. It is
- ' provided "as is" without express or implied warranty.
- '
- ' $Header: /sprite/src/lib/c/stdio/RCS/tmpfile.man,v 1.1 89/01/05 17:00:14 ouster Exp $ SPRITE (Berkeley)
- '
- .so \*(]ltmac.sprite
- .HS tmpfile lib
- .BS
- .SH NAME
- tmpfile \- Create a temporary file
- .SH SYNOPSIS
- .nf
- \fBinclude <stdio.h>
-
- \fBFILE *
- tmpfile()
- .BE
-
- .SH DESCRIPTION
- .PP
- This procedure creates and opens a temporary file. The file will
- be removed when it is closed or when the process exits. The return
- value from \fBtmpfile\fR is a pointer to the opened stream, which
- may be used for performing I/O to and from the file. If an error
- occurred in opening the file, \fBNULL\fR is returned.
- .DE
- .SH KEYWORDS
- file, open, temporary
-